.currency_box {
    position: relative;
    font-weight: 500;
    z-index: 1000;
}


.currency_box oem-currency-drop[position="top"] {
    bottom: calc(100% + 10px);
}

.currency_box oem-currency-drop[position="bottom"] {
    top: calc(100% + 10px);
}

.currency_box .currency_txt {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    letter-spacing: var(--nav_letter_spacing);
    border: none;
    cursor: pointer;
    svg{
        opacity: .7;
    }
}

.currency_box .currency_txt svg {
    -webkit-transition: transform 0.2s ease-in-out;
    -moz-transition: transform 0.2s ease-in-out;
    transition: transform 0.2s ease-in-out;
    width: 18px;
    height: 18px;
}

.currency_box .drop_currency {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    box-sizing: border-box;
    background-color: #fff;
    max-height: 300px;
    min-width: 150px;
    max-width: 250px;
    padding: 10px;
    display: none;
    z-index: 999;
    box-shadow: 0px 1px 4px 0px rgba(0,0,0,.15);
    a{
        span{
            color: #404040 !important;
        }
    }
}


.currency_box .drop_currency .currency {
    max-height: 280px;
    overflow-y: scroll;
    &::-webkit-scrollbar {
        display: none;
    }
    scrollbar-width: none;
}

.currency_box .drop_currency .currency::-webkit-scrollbar {
    display: none;
}

.currency_box .drop_currency li {
    list-style-type: none;
}

.currency_box .drop_currency li a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 8px;
    opacity: 1;
    letter-spacing: var(--nav_letter_spacing);
    font-size: 14px;
    margin: 0;
    white-space: nowrap;
    width: 100%;
    box-sizing: border-box;
    &:hover{
        span {
            text-decoration: underline;
            text-underline-offset: 3px;
        }
    }
}


.currency_box.drop_currency_on .drop_currency {
    display: block;
}

.currency_box.drop_currency_on .currency_txt svg.down {
    transform: rotate(-180deg);
}
